package com.syni.mdd.sjb.common.component.utils.feign.service.mddWechatOa;

import com.syni.dto.mddWechatOa.apiCropBusiness.GetEnterpriseCustomersDto;
import com.syni.mdd.sjb.common.component.utils.common.utils.RpcResponseVo;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.RequestBody;
import org.springframework.web.bind.annotation.RequestMapping;

/**
 * @className UserRestService
 * @description TOO
 * @Author cfx
 * @DATE 2020/4/20 14:17
 * @VERSION 1.0
 **/
@FeignClient(value = "mdd-wechat-oa",path = "/oa")
@RequestMapping("/apiCropBusiness")
public interface CropBusinessRestService {

    @PostMapping("/getEnterpriseCustomers")
    RpcResponseVo getEnterpriseCustomers(@RequestBody GetEnterpriseCustomersDto getEnterpriseCustomersDto);

}
